package com.zmj.sy.mom.srv.aps.bean.entity.base;


import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;


@Comment("基础-消息")
@Getter
@Setter
@TableName("tb_base_message")
public class Message extends BaseEntity {

    @Comment("应用名称")
    private String appName;

    @Comment("标题")
    private String title;

    @Comment("摘要")
    private String summary;

    @Comment("消息范围：global 或 personal")
    private String scope;

    @Comment("内容，最好是filepath")
    private String content;

    @Comment("图标")
    private String icon;

    @Comment("消息类型")
    private String type;

    @Comment("url")
    private String linkUrl;

    @Comment("状态：1草稿 2已发布")
    private Integer status;

    @Comment("接收人工号")
    private String userCode;

    @Comment("开始时间")
    private LocalDateTime startDateTime;

    @Comment("结束时间")
    private LocalDateTime endDateTime;

}
